import http from '../utils/request'
export const getPlay = (id) => {
  return http.request({
    method: 'get',
    url: `/song/url?id=${id}`
  })
}
// 获取歌曲详情
export const getDetails = (id) => {
  return http.request({
    method: 'get',
    url: `/song/detail?ids=${id}`
  })
}
// 获取歌词
export const getLyric = (id) => {
  return http.request({
    method: 'get',
    url: `/lyric?id=${id}`
  })
}
